// EcoModeler - C# Edition :: Version 9.16 build 3301
using System;
using System.ComponentModel;
using System.Collections;
using System.Collections.Generic;
using Eco.Services;
using Eco.ObjectRepresentation;
using Eco.ObjectImplementation;
using Eco.UmlRt;
using Eco.UmlCodeAttributes;
using Eco.Subscription;

namespace TTServer
{
	#region MM_ECO_Generated
	#region Attributes
	[UmlElement(Id="{02f53609-9f4a-4598-beb8-bc2cb52fccf8}")]
	[UmlTaggedValue("Eco.TableMapping", "Parent")]
	#endregion

	#region Documentation
	//1 Aufgestelltes Einzel
	/// Aufgestelltes Einzel
	#endregion

	#endregion
	public class AufgestelltesEinzel: AufgestellerSpieler
	{
		#region MM_ECO AutoGenerated ECO code

		new public struct Eco_LoopbackIndices
		{
			public const int Eco_FirstMember = TTServer.AufgestellerSpieler.Eco_LoopbackIndices.Eco_MemberCount;
			public const int Eco_MemberCount = (Eco_FirstMember + 1);
			public const int EinzelAufstellung_MemberIndex = Eco_FirstMember + 0;
		}
		#endregion

		#region MM_ECO Model owned attributes
		//Note: Do not remove any property within this region, nor change its signature

		#region MM_ECO_Generated
		[UmlElement("AssociationEnd", Index=(AufgestelltesEinzel.Eco_LoopbackIndices.EinzelAufstellung_MemberIndex), Id="{0022b67d-6c7a-438b-a49a-9fbf0a8108e3}")]
		[UmlMetaAttribute("association", typeof(TTServerPackage.AufstellungAufgestellerSpieler), Index=0)]
		[UmlMetaAttribute("multiplicity", "0..*")]
		[UmlTaggedValue("Eco.Embed", "False")]
		#endregion
		public IEcoList<Aufstellung> EinzelAufstellung
		{
			get
			{
				#region MM_ECO_Generated
				return new ObjectListAdapter<Aufstellung>((IList) (this.eco_Content.get_MemberByIndex(Eco_LoopbackIndices.EinzelAufstellung_MemberIndex)));
				#endregion
			}
		}

		#endregion

		#region MM_ECO Model owned methods
		//Note: Do not remove any method within this region, nor change its signature

		public AufgestelltesEinzel(IContent content) : base(content)
		{
			#region MM_ECO_Generated
			#endregion
		}

		public AufgestelltesEinzel(IEcoServiceProvider serviceProvider) : base(serviceProvider)
		{
			try
			{
				// Place user code ONLY here
			}
			catch (System.Exception)
			{
				this.Deinitialize(serviceProvider);
				throw;
			}
		}
		#endregion
	}
}
